.w {
    width: 1240px;
    margin: 0 auto;
}

/* 网页的头部 */
.shortcut {
    height: 52px;
    background-color: #333333;
}

.shortcut ul {
    display: flex;
    height: 52px;
    align-items: center;
    justify-content: flex-end;
}

.shortcut .line {
    width: 1px;
    height: 12px;
    background-color: #999;
    margin: 0 15px;
}

.shortcut li a {
    color: #ffffff;
}

.shortcut li a:hover {
    color: #5EB69C;
}

.shortcut li:first-child a {
    color: #5EB69C;
}

.shortcut li i {
    font-size: 18px;
    margin-right: 4px;
}

/* header部分制作 */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 132px;
    /* background-color: pink; */
}

.header .logo {
    width: 200px;
    height: 88px;
}

.header .logo h1 {
    width: 100%;
    height: 100%;
}

.header .logo a {
    display: block;
    width: 100%;
    height: 100%;
    background: url("../images/logo.png") no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}

.nav {
    display: flex;
    gap: 48px;
}

.nav li a {
    display: block;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
}

.nav li a:hover {
    color: #5EB69C;
    border-bottom: 2px solid #5EB69C;
}

.search input {
    width: 170px;
    height: 40px;
    border-bottom: 2px solid #F4F4F4;
    padding-left: 28px;
    font-size: 16px;
}

.search input::placeholder {
    font-size: 16px;
    color: #ccc;
}

.cart i {
    font-size: 40px;
    margin-right: 15px;
}